/*
 *  功能：路西德第二阶段过场动画
 *  Form: 芬芬时尚潮流
 */
var status = -1;

function action(mode, type, selection) {
	if (mode >= 1) {
		status++;
	} else {
		status--;
	}
	if (status == 0) {
		ms.getDirectionStatus(true); //0x222
		ms.EnableUI(1, false); //0x32b
		ms.DisableUI(true); //0x32c
		ms.getDirectionInfo(9, 1); //0x349
		ms.getDirectionInfo(1, 1); //0x349
		ms.getDirectionInfo(3, 1); //0x349
	} else if (status == 1) {
		ms.getDirectionInfo(3, 0); //0x349
		ms.getDirectionInfo(1, 7000); //0x349
		ms.getDirectionInfo("Map/Effect3.img/BossLucid/Lucid5", 3100, 200, 0, 0, 0); //0x349
		ms.getDirectionInfo("Map/Effect3.img/BossLucid/Lucid4", 3100, 200, 0, 0, 0); //0x349
		ms.getDirectionInfo("Map/Effect3.img/BossLucid/Lucid3", 5000, 200, 0, 0, 0); //0x349
		ms.getDirectionInfo("Map/Effect3.img/BossLucid/Lucid2", 5000, 200, 0, 0, 0); //0x349
		ms.getDirectionInfo("Map/Effect3.img/BossLucid/Lucid", 5000, 200, 0, 0, 0); //0x349
	} else if (status == 2) {
		ms.EnableUI(0, false); //0x32b
		ms.DisableUI(false); //0x32c
		ms.getDirectionInfo(9, 0); //0x349
		ms.dispose();
		ms.warp(450004250);
	}
}
